/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.heathrow.dao;

import cz.muni.fi.heathrow.entities.User;
import java.util.List;

/**
 *
 * @author Ufonzak
 */
public interface UserDAO
{
    User get(String username);
    
    User get(Long id);
    
    void create(User user);
    
    void remove(User user);
    
    void update(User user);
    
    List<User> findAll();
}
